package com.rxst.msg.vo;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 用户表
 * 
 * @author rxst
 * @email rxst@gmail.com
 * @date 2021-08-19 11:47:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MsgxUserVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 唯一自增主键id
	 */
	@ApiModelProperty(value = "唯一自增主键id", notes = "唯一自增主键id")
	private Long id;

	/**
	 * 登录标识
	 */
	@ApiModelProperty(value = "登录标识", notes = "登录标识")
	private String token;
	/**
	 * 用户 id
	 */
	@ApiModelProperty(value = "用户 id", notes = "用户 id")
	private String userId;
	/**
	 * 用户账号类型 0：系统管理员 1 普通用户
	 */
	@ApiModelProperty(value = "用户账号类型 0：系统管理员 1 普通用户", notes = "用户账号类型 0：系统管理员 1 普通用户")
	private Integer userType;
	/**
	 * 用户账号
	 */
	@ApiModelProperty(value = "用户账号", notes = "用户账号")
	private String userAccount;
	/**
	 * 用户名称
	 */
	@ApiModelProperty(value = "用户名称", notes = "用户名称")
	private String userName;
	/**
	 * 用户密码
	 */
//	@ApiModelProperty(value = "用户密码", notes = "用户密码")
//	private String userPassword;
	/**
	 * 授权开始时间
	 */
	@ApiModelProperty(value = "授权开始时间", example = "2021-08-19 00:00:00", notes = "授权开始时间" ,dataType = "String")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date userAuthStartTime;
	/**
	 * 授权结束时间
	 */
	@ApiModelProperty(value = "授权结束时间", example = "2021-08-19 00:00:00", notes = "授权结束时间" ,dataType = "String")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date userAuthEndTime;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", example = "2021-08-19 00:00:00", notes = "创建时间" ,dataType = "String")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间", example = "2021-08-19 00:00:00", notes = "修改时间",dataType = "String")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;
	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人", notes = "创建人")
	private String createBy;
	/**
	 * 修改人
	 */
	@ApiModelProperty(value = "修改人", notes = "修改人")
	private String updateBy;
	/**
	 * 是否删除 0 存在 1删除
	 */
	@ApiModelProperty(value = "是否删除 0 存在 1删除", notes = "是否删除 0 存在 1删除")
	private Integer isDelete;

}
